package com.android.juguotang.model.detail;

import com.android.juguotang.utils.MyLog;
import com.google.gson.Gson;
import com.zhy.http.okhttp.callback.Callback;

import okhttp3.Response;

/**
 * Created by Administrator on 2017/7/27.
 */

public abstract class wchatpaydoneCallback2 extends Callback<wchatpaydone2> {

    @Override
    public wchatpaydone2 parseNetworkResponse(Response response, int id) throws Exception {

        String string = response.body().string();
//        MyLog.e("inest","wchatpaydoneCallback="+string);
        wchatpaydone2 data = new Gson().fromJson(string,wchatpaydone2.class);

        return data;
    }
}